# name : mantelhaen.test (pipe), Cochran-Mantel-Haenszel Chi-Squared Test for Count Data
# key : mantelhaen.test.newpipe
# key : cmh.test.newpip
# contributor: Shuguang Sun
# --
${1:df} |>
(\\(x)
mantelhaen.test(
as.factor(x\$${2:aval}),
as.factor(x\$${3:group}),
as.factor(x\$${4:strata}))
) ()